<template>
	<view class="question-page">
		<!-- #ifdef APP -->
		<u-navbar title="匿名举报" :autoBack="true" :placeholder="true">></u-navbar>
		<!-- #endif -->
		<view class="tips">为了保护你的隐私安全,我们完全匿名举报,请放心填写。</view>
		<view class="contentBox">
			<view class="question-list">
				<view class="question-item" v-for="(item,index) in dataList" :key="index" @click="lookDetail(item)">
					<view class="label">{{item.title}}</view>
					<u-icon name="arrow-right"></u-icon>
				</view>
			</view>
		</view>
		<view style="height: 20rpx;"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				user_id:null,
				dataList: [{
					title: '发广告',
				}, {
					title: '骚扰/谩骂/不文明聊天',
				}, {
					title: '虚假照片',
				}, {
					title: '色情低俗',
				}, {
					title: '无法联系',
				}, {
					title: 'Ta是骗子',
				}, {
					title: '微信号查找不到',
				}, {
					title: '代聊/非本人',
				}, ],
			}
		},
		onLoad(options) {
			// this.getQuestiont()
			this.user_id = options.user_id
		},
		methods: {
			lookDetail(item) {
				this.$Tips('/pages/reportSubmit/reportSubmit?type=' + item.title+'&user_id='+this.user_id)
			}
		}
	}
</script>

<style lang="less" scoped>
	.question-page {
		width: 100%;
		min-height: 100vh;
		background-color: #f7f8fa;
		position: relative;

		.tips {
			background: #FEECFF;
			padding: 12rpx 34rpx;
			font-size: 26rpx;
			color: #F169F6;
			text-align: center;
		}

		.contentBox {
			min-height: 80vh;
			margin: 20rpx 34rpx;
			padding: 38rpx 40rpx 38rpx;
			box-shadow: 0rpx 4rpx 32rpx 0rpx #FFF0FD;
			border-radius: 32rpx;
			background: linear-gradient(180deg, #FFDAF5 0%, #FFFFFF 5%);



			.question-list {
				background-color: #ffffff;
				border-radius: 20rpx;
				margin-top: 30rpx;

				.question-item {
					padding: 0 22rpx 0 24rpx;
					display: flex;
					align-items: center;
					justify-content: space-between;
					font-size: 28rpx;
					height: 88rpx;
					margin-bottom: 20rpx;
					background: #F7F7F7;
					border-radius: 16rpx;
				}
			}
		}
	}
</style>